package com.wzh.project.common.bean;

import com.wzh.project.utils.BinaryTransferUtils;

/**
*@author : 汪振海
*@createdDate : May 11, 2020  10:13:38 AM
*@description : <br>
*
*/
public class Test {
	
	public static void main(String[] args) {
		Test1Bean test1=new Test1Bean();
		test1.setAge(18);
		test1.setName("22");
		byte[] transferToBinaryByteArray = BinaryTransferUtils.transferToBinaryByteArray(test1);
		Object obj = BinaryTransferUtils.transferByteArrayToObject(transferToBinaryByteArray);
		System.out.println(obj);
	}

}
